// stores/counter.js
import { defineStore } from "pinia";

export const useStore = defineStore("counter", {
  state: () => {
    return {
      curText: "",
    };
  },
  actions: {
    saveCurText(text: string) {
      this.curText = text;
    },
  },
});
